/* **************************************************************************
 * The WowDataTooltip plugin handles the display of tooltips for World of
 * Warcraft related data.
 * 
 * Copyright (C) 2011  Martin Gelder
 * (darkspotinthecorner {at} gmail {dot} com)
 * 
 * This program is free software: you can redistribute it and/or modify
 * it under the terms of the GNU General Public License as published by
 * the Free Software Foundation, either version 3 of the License, or
 * (at your option) any later version.
 * 
 * This program is distributed in the hope that it will be useful,
 * but WITHOUT ANY WARRANTY; without even the implied warranty of
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
 * GNU General Public License for more details.
 * 
 * You should have received a copy of the GNU General Public License
 * along with this program. If not, see http://www.gnu.org/licenses/gpl.html.
 * ************************************************************************** */

/* --- Override of 280 max-width -------------------------------------------- */

.wdt-tooltip {
	max-width: 1000px;
}

/* ==========================================================================
 * --- WowDataTooltip Styles ------------------------------------------------
 * ========================================================================== */

/* --------------------------------------------------------------------------
 *  Colors
 * -------------------------------------------------------------------------- */

.cquality-0 { /* Poor        */ color: #9D9D9D !important; }
.cquality-1 { /* Common      */ color: #FFFFFF !important; }
.cquality-2 { /* Uncommon    */ color: #1EFF00 !important; }
.cquality-3 { /* Rare        */ color: #0070FF !important; }
.cquality-4 { /* Epic        */ color: #C600FF !important; }
.cquality-5 { /* Legendary   */ color: #FF8000 !important; }
.cquality-6 { /* Artifact    */ color: #E6CC80 !important; }
.cquality-7 { /* Heirloom    */ color: #E6CC80 !important; }

.cclass-1  { /* Warrior      */ color: #C79C6E !important; }
.cclass-2  { /* Paladin      */ color: #F58CBA !important; }
.cclass-3  { /* Hunter       */ color: #ABD473 !important; }
.cclass-4  { /* Rogue        */ color: #FFF569 !important; }
.cclass-5  { /* Priest       */ color: #FFFFFF !important; }
.cclass-6  { /* Death Knight */ color: #C41F3B !important; }
.cclass-7  { /* Shaman       */ color: #0070DE !important; }
.cclass-8  { /* Mage         */ color: #69CCF0 !important; }
.cclass-9  { /* Warlock      */ color: #9482C9 !important; }
.cclass-11 { /* Druid        */ color: #FF7D0A !important; }

.cside-0, .cside-alliance { color: #80BBFF !important; }
.cside-1, .cside-horde    { color: #FF8080 !important; }

.crealmtype-pve     { color: #44CC33; }
.crealmtype-pvp     { color: #FF5533; }
.crealmtype-rp      { color: #BBCC33; }
.crealmtype-rppvp   { color: #FF9944; }
.crealmstatus-true  { color: #33FF33; }
.crealmstatus-false { color: #FF3333; }
.crealmqueue-true   { color: #FFBB33; }

/* --------------------------------------------------------------------------
 *  PvP Leader Icon
 * -------------------------------------------------------------------------- */

/* Original image: http://eu.battle.net/wow/static/images/pvp/leader.gif / (c) 2011 by Blizzard Entertainment */
.wdt-tooltip .icon-leader-pvp {
	background: url() center right no-repeat;
	padding-right: 16px;
}

/* --------------------------------------------------------------------------
 *  Achievenemt Points Icon
 * -------------------------------------------------------------------------- */

/* Original image: http://us.battle.net/wow/static/images/icons/achievements.gif / (c) 2011 by Blizzard Entertainment */
.wdt-tooltip .icon-achievenemtpoints {
	background: url() center right no-repeat;
	padding-right: 12px;
}

/* --------------------------------------------------------------------------
 *  Money Icons
 * -------------------------------------------------------------------------- */

/* Original image: http://us.battle.net/wow/static/images/icons/gold.gif / (c) 2011 by Blizzard Entertainment */
.wdt-tooltip .icon-gold      { padding-right: 15px; padding-left: 5px; background: url() right center no-repeat; }

/* Original image: http://us.battle.net/wow/static/images/icons/silver.gif / (c) 2011 by Blizzard Entertainment */
.wdt-tooltip .icon-silver    { padding-right: 15px; padding-left: 5px; background: url() right center no-repeat; }

/* Original image: http://us.battle.net/wow/static/images/icons/copper.gif / (c) 2011 by Blizzard Entertainment */
.wdt-tooltip .icon-copper    { padding-right: 15px; padding-left: 5px; background: url() right center no-repeat; }

/* --------------------------------------------------------------------------
 *  Socket Icons
 * -------------------------------------------------------------------------- */

.wdt-tooltip .icon-socket                         { display: block; position: relative; width: 15px; height: 15px; }
.wdt-tooltip .icon-socket .gem                    { display: block; width: 15px; height: 15px; }
.wdt-tooltip .icon-socket .gem img                { display: block; width: 13px; height: 13px; padding: 1px 0 0 1px; }
.wdt-tooltip .icon-socket .empty                  { position: absolute; left: 1px; top: 1px; width: 13px; height: 13px; }

/* Original image: http://us.battle.net/wow/static/images/icons/frames/sockets.png / (c) 2011 by Blizzard Entertainment */
.wdt-tooltip .icon-socket .frame                  { position: absolute; left: 0; top: 0; width: 15px; height: 15px; background: url() no-repeat; }

.wdt-tooltip .icon-socket.socket-META      .empty { background-color: #29292A; }
.wdt-tooltip .icon-socket.socket-RED       .empty { background-color: #301010; }
.wdt-tooltip .icon-socket.socket-YELLOW    .empty { background-color: #403010; }
.wdt-tooltip .icon-socket.socket-BLUE      .empty { background-color: #102040; }
.wdt-tooltip .icon-socket.socket-PRISMATIC .empty { background-color: #29292A; }
.wdt-tooltip .icon-socket.socket-HYDRAULIC .empty { background-color: #FF0000; }
.wdt-tooltip .icon-socket.socket-COGWHEEL  .empty { background-color: #29292A; }
.wdt-tooltip .icon-socket.socket-META      .frame { background-position:  -45px   0; }
.wdt-tooltip .icon-socket.socket-RED       .frame { background-position:      0   0; }
.wdt-tooltip .icon-socket.socket-YELLOW    .frame { background-position:  -15px   0; }
.wdt-tooltip .icon-socket.socket-BLUE      .frame { background-position:  -30px   0; }
.wdt-tooltip .icon-socket.socket-ORANGE    .frame { background-position:  -90px   0; }
.wdt-tooltip .icon-socket.socket-PURPLE    .frame { background-position:  -75px   0; }
.wdt-tooltip .icon-socket.socket-GREEN     .frame { background-position: -105px   0; }
.wdt-tooltip .icon-socket.socket-PRISMATIC .frame { background-position:  -60px   0; }
.wdt-tooltip .icon-socket.socket-HYDRAULIC .frame { background-position:      0   0; }
.wdt-tooltip .icon-socket.socket-COGWHEEL  .frame { background-position:  -45px   0; }

/* --------------------------------------------------------------------------
 *  Generic Tooltips
 * -------------------------------------------------------------------------- */

.ajaxloading,
.wdt-tooltip {
	font-family: Arial, Verdana, sans-serif;
	font-size: 12px;
	line-height: 15px;
}

.wdt-tooltip .ui-tooltip-titlebar,
.wdt-tooltip .ui-tooltip-content {
	border-color: #333;
	color: #fff;
}

.wdt-tooltip .ui-tooltip-content {
	background-color: #000;
	background-color: rgba(0, 0, 0, 0.85);
}

.wdt-tooltip .row {
	padding-bottom: 1px;
}

.wdt-tooltip .tooltip-404 {
	padding:3 px;
}

.wdt-tooltip .tooltip-404 .title {
	font-size: 16px;
	font-weight: bold;
	border-bottom: 1px solid #444;
	margin-bottom: 5px;
	padding-bottom: 3px;
	color: #FF3333;
}

.wdt-tooltip .tooltip-404 .title .sub {
	font-size: 14px;
	color: #808080;
}

.wdt-tooltip .tooltip-404 div .value {
	color: #FFB100;
}

/* --------------------------------------------------------------------------
 *  Simple / Extended Rules
 * -------------------------------------------------------------------------- */

.wdt-tooltip div.wdt-show-only-simple {
	display: block;
}

.wdt-tooltip span.wdt-show-only-simple {
	display: inline;
}

body.wdt-show-extended .wdt-tooltip .wdt-show-only-simple {
	display: none;
}

.wdt-tooltip .wdt-show-only-extended {
	display: none;
}

body.wdt-show-extended .wdt-tooltip div.wdt-show-only-extended {
	display: block;
}

body.wdt-show-extended .wdt-tooltip span.wdt-show-only-extended {
	display: inline;
}

.wdt-tooltip .info-meta {
	color: #777;
	padding-bottom: 3px;
}

/* --------------------------------------------------------------------------
 *  Realm Tooltips
 * -------------------------------------------------------------------------- */

.tooltip-realm .notfound {
	font-weight: bold;
}

.tooltip-realm .name {
	font-size: 14px;
	font-weight: bold;
	border-bottom: 1px solid #444;
	margin-bottom: 5px;
	padding-bottom: 3px;
}

.tooltip-realm .type {
	float: right;
	font-size: 14px;
	font-weight: bold;
	padding-left: 10px;
}

.tooltip-realm .battlegroup {
	color: #71D5FF;
}

/* --------------------------------------------------------------------------
 *  Quest Tooltips
 * -------------------------------------------------------------------------- */

.tooltip-quest .level {
	float: right;
	font-size: 14px;
	font-weight: bold;
	color: #999;
	padding-left: 10px;
}

.tooltip-quest .name {
	font-size: 14px;
	font-weight: bold;
	border-bottom: 1px solid #444;
	margin-bottom: 5px;
	padding-bottom: 3px;
	color: #FFD100;
}

.tooltip-quest .category {
	color: #71D5FF;
}

/* --------------------------------------------------------------------------
 *  Item Tooltips
 * -------------------------------------------------------------------------- */

.tooltip-item .socketInfo {
	padding-left: 5px;
}

.tooltip-item .data {
	padding: 4px 4px 4px 70px;
}

.tooltip-item .icon {
	float: left;
	border: 4px solid rgba(0, 0, 0, 0.33);
}

.tooltip-item .name {
	font-size: 14px;
	font-weight: bold;
	border-bottom: 1px solid #444;
	margin-bottom: 3px;
	padding-bottom: 3px;	
}

.tooltip-item .classification,
.tooltip-item .weaponInfo {
	position: relative;
}

.tooltip-item .classification .inventoryType + .itemClass {
	position: absolute;
	top: 0;
	right: 0;
}

.tooltip-item .weaponInfo .damage + .weaponSpeed {
	position: absolute;
	top: 0;
	right: 0;
}

.tooltip-item .socketInfo .socket {
	line-height: 18px;
	overflow: hidden;
	color: #808080;
}

.tooltip-item .socketInfo .icon-socket {
	float: left;
	margin-right: 4px;
	margin-top: 1px;
}

.tooltip-item .secondaryStat {
	color: #0F0;
}

.tooltip-item .description {
	color: #FFD100;
}

.tooltip-item .id {
	color: #71D5FF;
}

/* --------------------------------------------------------------------------
 *  Character Tooltips
 * -------------------------------------------------------------------------- */

.tooltip-character .talentspec {
	color: #999;
	padding-left: 12px;
}

.tooltip-character .talentspec.active {
	color: #00FFB1;
}

.tooltip-character .icon-talentspec,
.tooltip-character .icon-profession {
	height: 10px;
}

.tooltip-character .thumbnail {
	float: left;
	border: 4px solid rgba(0, 0, 0, 0.33);
}

.tooltip-character .data {
	padding: 4px 4px 4px 98px;
}

.tooltip-character .name {
	font-size: 14px;
	font-weight: bold;
	border-bottom: 1px solid #444;
	margin-bottom: 3px;
}

.tooltip-character .itemlevel {
	color: #00FFB1;
}

.tooltip-character .guild {
	padding-top: 2px;
}

.tooltip-character .guildname {
	color: #FFB100;
}

.tooltip-character .professions {
	line-height: 16px;
}

.tooltip-character .profession-primary {
	color: #FFB100;
}

.tooltip-character .profession-secondary {
	color: #996600;
}

.tooltip-character .achievementpoints {
	color: #C09A67;
}

/* --------------------------------------------------------------------------
 *  Guild Tooltips
 * -------------------------------------------------------------------------- */

.tooltip-guild .name {
	font-size: 14px;
	font-weight: bold;
	border-bottom: 1px solid #444;
	margin-bottom: 5px;
}

.tooltip-guild .sri {
	color: #FFB100;
}

.tooltip-guild .achievementpoints {
	color: #C09A67;
}

/* --------------------------------------------------------------------------
 *  Arena Team Tooltips
 * -------------------------------------------------------------------------- */

.tooltip-arena .name {
	font-size: 14px;
	font-weight: bold;
	border-bottom: 1px solid #444;
	margin-bottom: 5px;
}

.tooltip-arena .view-mode {
	color: #00FFB1;	
}

.tooltip-arena .rank-current {
	float: right;
	font-size: 14px;
	font-weight: bold;
	padding-left: 10px;
	color: #FFB100;
}

.tooltip-arena .matches .matches-won {
	color: #66FF66;
}

.tooltip-arena .matches .matches-lost {
	color: #FF6666;
}

.tooltip-arena .matches .matches-stats {
	color: #BB9966;
}

.tooltip-arena .members {
	margin:4px 0;
}

.tooltip-arena .member {
	position: relative;
	padding: 2px 4px;
	line-height: 18px;
}

.tooltip-arena .member .rating-personal {
	font-size: 85%;
	color: #808080;
}

.tooltip-arena .member .matches {
	position: absolute;
	top: 2px;
	right: 4px;
}

.tooltip-arena .member.alt {
	background-color: rgba(0, 0, 0, 0.33);
}

.tooltip-arena .member img {
	vertical-align: middle;
}


